package com.itheima.ydd.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.itheima.ydd.entity.YddArticle;
import lombok.Data;

@Data
public class YddArticleDto extends YddArticle {
        private String catename;
        @JsonProperty(value = "isCollect")
        private boolean Collect;
        @JsonProperty(value = "isLike")
        private boolean Like;
}
